<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>My Project: M:/移动硬盘/曹健/DX3D完成作业/619/D3DX封装/src/InputSystem.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.9.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="pages.html"><span>相关页面</span></a></li>
      <li><a href="annotated.html"><span>类</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>文件列表</span></a></li>
      <li><a href="globals.html"><span>文件成员</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">InputSystem.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_input_system_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//Name:InputSystem.h</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">//所有的主玩家的操作都封装在了这个类中</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//以及所有和主玩家有关的对象的操作</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_scene_manager_8h.html">SceneManager.h</a>&quot;</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_g_u_i_manager_8h.html">GUIManager.h</a>&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_graph_system_8h.html">GraphSystem.h</a>&quot;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">//鼠标消息的结构体</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="structtag_mouse_key.html">   14</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structtag_mouse_key.html">tagMouseKey</a></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;{</div>
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="structtag_mouse_key.html#aa3c34598b581d60c80cf7a42c748830f">   16</a></span>&#160;    <span class="keywordtype">long</span> <a class="code" href="structtag_mouse_key.html#abf8f866b6fb29a6983587c4b98a6a9ad">lX</a>, <a class="code" href="structtag_mouse_key.html#aa3c34598b581d60c80cf7a42c748830f">lY</a>;</div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="structtag_mouse_key.html#ae985aae9330f951e7239cc680f57368e">   17</a></span>&#160;    <span class="keywordtype">long</span> <a class="code" href="structtag_mouse_key.html#ae985aae9330f951e7239cc680f57368e">lKey</a>;</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;};</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">//鼠标类,对游戏进行基本的控制</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="class_c_input_system.html">   26</a></span>&#160;<span class="comment"></span><span class="keyword">class </span><a class="code" href="class_c_input_system.html">CInputSystem</a> : <span class="keyword">public</span> <a class="code" href="class_i_observer.html">IObserver</a></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;{</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    <span class="comment">//构造函数</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    <a class="code" href="class_c_input_system.html#a3f5f87b19a628e8b7fabf5590e8e3dbd">CInputSystem</a>();</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    <span class="comment">//析构函数</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    <a class="code" href="class_c_input_system.html#af6e104ea0e171e87dc3505db9433cc63">~CInputSystem</a>();</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    <span class="comment">//初始化系统</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_c_input_system.html#af14908aacbeb3047261592dd0bffdcfb">Init</a>();</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    <span class="comment">//发送状态接口</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_c_input_system.html#a9362c927596de3750361d230a63c1eb7">Notify</a>(<a class="code" href="class_i_observable.html">IObservable</a>* pObservable, <a class="code" href="class_i_object.html">IObject</a>* Arg);</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    <span class="comment">//接收状态接口</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_c_input_system.html#a1148a6f2c4b5ce2a67ade11cfdbabd68">Update</a>(<a class="code" href="class_i_observable.html">IObservable</a>* pObservable, <a class="code" href="class_i_object.html">IObject</a>* Arg);</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    <span class="comment">//保存在系统里面的观察值模式控制器</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="class_c_input_system.html#ae9c9797d455e7e55d5b8327eae76fdb8">   49</a></span>&#160;    <a class="code" href="class_c_scene_manager.html">CSceneManager</a>* <a class="code" href="class_c_input_system.html#ae9c9797d455e7e55d5b8327eae76fdb8">m_pObservableScene</a>;</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    <span class="comment">//鼠标控制部分</span></div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="class_c_input_system.html#aa8b1e0e30b1602731235a7f4394f3315">   55</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_c_input_system.html#aa8b1e0e30b1602731235a7f4394f3315">m_bLeftDown</a>;</div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a362409a3da504f53025549132d477312">   56</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_c_input_system.html#a362409a3da504f53025549132d477312">m_bRightDown</a>;</div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="class_c_input_system.html#ae5e950bb43ed85b62026e2ff0ff93c84">   57</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_c_input_system.html#ae5e950bb43ed85b62026e2ff0ff93c84">m_bMiddleDown</a>;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="class_c_input_system.html#afe9f1385ed927dbf83c1df86d59f3c04">   59</a></span>&#160;    <span class="keywordtype">long</span> <a class="code" href="class_c_input_system.html#afe9f1385ed927dbf83c1df86d59f3c04">m_lX</a>;</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="class_c_input_system.html#ac63aeb1f9c11c6ace8da41dc12067c33">   60</a></span>&#160;    <span class="keywordtype">long</span> <a class="code" href="class_c_input_system.html#ac63aeb1f9c11c6ace8da41dc12067c33">m_lY</a>;</div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a2ffe6cf32b873d604a8968e2ec380b0a">   61</a></span>&#160;    <span class="keywordtype">long</span> <a class="code" href="class_c_input_system.html#a2ffe6cf32b873d604a8968e2ec380b0a">m_lOldX</a>;</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a6d24d55ce80e7a62109a05b1712988a3">   62</a></span>&#160;    <span class="keywordtype">long</span> <a class="code" href="class_c_input_system.html#a6d24d55ce80e7a62109a05b1712988a3">m_lOldY</a>;</div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a1521385034853f00c5ac96a3cb6dc6f4">   63</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_c_input_system.html#a1521385034853f00c5ac96a3cb6dc6f4">m_fOffsetX</a>;</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="class_c_input_system.html#afec4013a20b9f26175e540cb54d6489b">   64</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_c_input_system.html#afec4013a20b9f26175e540cb54d6489b">m_fOffsetY</a>;</div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a3e288d6bdde5b5832cc5efc2dd3c1b0a">   65</a></span>&#160;    <span class="keywordtype">long</span> <a class="code" href="class_c_input_system.html#a3e288d6bdde5b5832cc5efc2dd3c1b0a">m_lDelta</a>;</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <span class="comment">//鼠标消息队列</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a027bd93e4cdd65336c2f1b84899024ea">   71</a></span>&#160;    queue&lt;tagMouseKey*&gt; <a class="code" href="class_c_input_system.html#a027bd93e4cdd65336c2f1b84899024ea">m_queueMouseKey</a>;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <span class="comment">//模型对象数组</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a6b64e75094261d3beed23f956695d557">   73</a></span>&#160;    vector&lt;CModelCopy*&gt;     <a class="code" href="class_c_input_system.html#a6b64e75094261d3beed23f956695d557">m_vecStaticModel</a>;</div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a06e8a3392c736cb57ec4b9f52c1ec1a8">   74</a></span>&#160;    vector&lt;CCharacter*&gt;     <a class="code" href="class_c_input_system.html#a06e8a3392c736cb57ec4b9f52c1ec1a8">m_vecMoster</a>;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="class_c_input_system.html#ad42864913ab01f4784fe60b7704e6102">   77</a></span>&#160;    <span class="keywordtype">long</span> <a class="code" href="class_c_input_system.html#ad42864913ab01f4784fe60b7704e6102">GetMouseX</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> <a class="code" href="class_c_input_system.html#afe9f1385ed927dbf83c1df86d59f3c04">m_lX</a>; }</div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a4ac7384af46827dd8f3a0e1d3b21d258">   78</a></span>&#160;    <span class="keywordtype">long</span> <a class="code" href="class_c_input_system.html#a4ac7384af46827dd8f3a0e1d3b21d258">GetMouseY</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> <a class="code" href="class_c_input_system.html#ac63aeb1f9c11c6ace8da41dc12067c33">m_lY</a>; }</div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="class_c_input_system.html#aabd42ad9d883e20680ae40b985d3bd2e">   79</a></span>&#160;    <span class="keywordtype">long</span> <a class="code" href="class_c_input_system.html#aabd42ad9d883e20680ae40b985d3bd2e">GetOldMouseX</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> <a class="code" href="class_c_input_system.html#a2ffe6cf32b873d604a8968e2ec380b0a">m_lOldX</a>; }</div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a679ee3dabd0cc290645f7fd1bdba7da1">   80</a></span>&#160;    <span class="keywordtype">long</span> <a class="code" href="class_c_input_system.html#a679ee3dabd0cc290645f7fd1bdba7da1">GetOldMouseY</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> <a class="code" href="class_c_input_system.html#a6d24d55ce80e7a62109a05b1712988a3">m_lOldY</a>; }</div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a4db41b2663429f18a20c2bfa35d2ec7b">   81</a></span>&#160;    <span class="keywordtype">long</span> <a class="code" href="class_c_input_system.html#a4db41b2663429f18a20c2bfa35d2ec7b">GetMouseOffsetX</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> m_lX - <a class="code" href="class_c_input_system.html#a2ffe6cf32b873d604a8968e2ec380b0a">m_lOldX</a>; }</div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a516438c71b1183ea57bcd9b91c41f5d2">   82</a></span>&#160;    <span class="keywordtype">long</span> <a class="code" href="class_c_input_system.html#a516438c71b1183ea57bcd9b91c41f5d2">GetMouseOffsetY</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> m_lY - <a class="code" href="class_c_input_system.html#a6d24d55ce80e7a62109a05b1712988a3">m_lOldY</a>; }</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a56cac23f65688dc780b465565fc03bb2">   84</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_c_input_system.html#a56cac23f65688dc780b465565fc03bb2">IsLeftButtonDown</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> <a class="code" href="class_c_input_system.html#aa8b1e0e30b1602731235a7f4394f3315">m_bLeftDown</a>; }</div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a2f3cfc7d91593f794239173b75655e0f">   85</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_c_input_system.html#a2f3cfc7d91593f794239173b75655e0f">IsRightButtonDown</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> <a class="code" href="class_c_input_system.html#a362409a3da504f53025549132d477312">m_bRightDown</a>; }</div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="class_c_input_system.html#ac4994d7b80830f1f60c34fbce2418b53">   86</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_c_input_system.html#ac4994d7b80830f1f60c34fbce2418b53">IsMiddleButtonDown</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> <a class="code" href="class_c_input_system.html#ae5e950bb43ed85b62026e2ff0ff93c84">m_bMiddleDown</a>; }</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a9fd8289a5bfefa1b96906aa7c3d1b4e7">   88</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_c_input_system.html#a9fd8289a5bfefa1b96906aa7c3d1b4e7">SetLeftButtonDown</a>(<span class="keywordtype">bool</span> bdown) { m_bLeftDown = bdown; }</div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a3487d5139cce4d0eb9f8ce4c77fb377c">   89</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_c_input_system.html#a3487d5139cce4d0eb9f8ce4c77fb377c">SetRightButtonDown</a>(<span class="keywordtype">bool</span> bdown) { m_bRightDown = bdown; }</div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a3b26672351a776a2547a14a18f79b850">   90</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_c_input_system.html#a3b26672351a776a2547a14a18f79b850">SetMiddleButtonDown</a>(<span class="keywordtype">bool</span> bdown) { m_bMiddleDown = bdown; }</div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="class_c_input_system.html#ae1099da0580ca3fba34e18f1146b8d86">   91</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_c_input_system.html#ae1099da0580ca3fba34e18f1146b8d86">SetMouseWheelDelta</a>(<span class="keywordtype">long</span> delta) { m_lDelta = delta; }</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a484decdd149619bfd45c3c89648f5a59">   93</a></span>&#160;    <span class="keywordtype">long</span> <a class="code" href="class_c_input_system.html#a484decdd149619bfd45c3c89648f5a59">GetWheelDelta</a>() { <span class="keywordflow">return</span> <a class="code" href="class_c_input_system.html#a3e288d6bdde5b5832cc5efc2dd3c1b0a">m_lDelta</a>; }</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <span class="comment">//处理鼠标消息</span></div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_c_input_system.html#a11fbdae8b69ac64c41ddec971c794591">MouseMessageProc</a>();</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_c_input_system.html#af8e07a43e45fa063badb6312d823f8c1">PushMouseKey</a>(<span class="keywordtype">long</span> lMouseX, <span class="keywordtype">long</span> lMouseY, <span class="keywordtype">long</span> lValue);</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    </div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_c_input_system.html#ad0edf3d10bf53a5db4ddfade224b229e">PlayerMove</a>();</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_c_input_system.html#ae132d9e64b908e77784ee986368492d8">MapMove</a>();</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_c_input_system.html#afc2f3be58f63de6bd6523947fed7d71b">InputProc</a>();</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    <span class="comment">//键盘部分</span></div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    <span class="comment">//判断用户按键函数</span></div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_c_input_system.html#aae1aebf4cebdca5b66c61b2842e0085d">IsKeyPressed</a>(<span class="keywordtype">long</span>);</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_c_input_system.html#aa07846b5ee408760518e868cdf0c127f">KeyMessageProc</a>(DWORD keyValue,<span class="keywordtype">bool</span> b);</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    <span class="comment">//键盘缓冲区</span></div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="class_c_input_system.html#abb06d9d34763bd1c6ff03f0ec42f3706">  113</a></span>&#160;    <span class="keywordtype">char</span> <a class="code" href="class_c_input_system.html#abb06d9d34763bd1c6ff03f0ec42f3706">m_cKeyBuffer</a>[256];</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    <span class="comment">//需要控制的对象</span></div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a4820fc23f220b9867e6a3e5d1811125f">  117</a></span>&#160;    D3DXVECTOR3 <a class="code" href="class_c_input_system.html#a4820fc23f220b9867e6a3e5d1811125f">dir</a>;</div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="class_c_input_system.html#ae9378953b47eed65444542bcca70b8a5">  118</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_c_input_system.html#ae9378953b47eed65444542bcca70b8a5">cameraAngleY</a>;</div>
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a852b3784bb3c92ea049d747f48b38a4c">  119</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_c_input_system.html#a852b3784bb3c92ea049d747f48b38a4c">AngleY</a>;</div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="class_c_input_system.html#ad62ee8301b05d5d584660816ae5ef155">  120</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_c_input_system.html#ad62ee8301b05d5d584660816ae5ef155">cameraAngleX</a>;</div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a8ad044e9e836d2b794587b64ab69b7b6">  121</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_c_input_system.html#a8ad044e9e836d2b794587b64ab69b7b6">bLButtonDown</a>;</div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a63e989b56b4d2fbec4e8b04799e1439b">  122</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_c_input_system.html#a63e989b56b4d2fbec4e8b04799e1439b">bAjustCamera</a>;</div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a25afa3eee6f3c9d1fe843dd9541d1c39">  123</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_c_input_system.html#a25afa3eee6f3c9d1fe843dd9541d1c39">bCubeMove</a>;</div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a42feb99f01d09f142c0fcfe965c90505">  124</a></span>&#160;    <a class="code" href="class_c_player.html">CPlayer</a>         * <a class="code" href="class_c_input_system.html#a42feb99f01d09f142c0fcfe965c90505">m_pPlayer</a>;</div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="class_c_input_system.html#ad2ab12b868bba59c0fb5e41a752ee1e3">  125</a></span>&#160;    <a class="code" href="class_c_sky.html">CSky</a>            * <a class="code" href="class_c_input_system.html#ad2ab12b868bba59c0fb5e41a752ee1e3">m_pSky</a>;</div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="class_c_input_system.html#ae0836b6eb7f932accbc6f1b89df0bcaa">  126</a></span>&#160;    <a class="code" href="class_c_bridge.html">CBridge</a>         *<a class="code" href="class_c_input_system.html#ae0836b6eb7f932accbc6f1b89df0bcaa">m_pBridge</a>;</div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="class_c_input_system.html#aecbf4db4d2ab66e8ac7498c895ed0375">  127</a></span>&#160;    <a class="code" href="class_c_camera.html">CCamera</a>         *<a class="code" href="class_c_input_system.html#aecbf4db4d2ab66e8ac7498c895ed0375">m_pCamera</a>;</div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="class_c_input_system.html#aaaeeabbb144d8ba1dca686270ba193df">  128</a></span>&#160;    <a class="code" href="class_c_c_map.html">CCMap</a>           *<a class="code" href="class_c_input_system.html#aaaeeabbb144d8ba1dca686270ba193df">m_pMap</a>;</div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="class_c_input_system.html#afa623019717fc58c5254dec4688031aa">  129</a></span>&#160;    <a class="code" href="class_c_hourse.html">CHourse</a>         *<a class="code" href="class_c_input_system.html#afa623019717fc58c5254dec4688031aa">m_pHourse</a>;</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    <span class="comment">/**************跳跃*****************/</span></div>
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a872d1ab9eabf71ba9ddaff067a974581">  132</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_c_input_system.html#a872d1ab9eabf71ba9ddaff067a974581">flag</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="class_c_input_system.html#aa7dc68632cf3a7a7285fb0793b094313">  133</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_c_input_system.html#aa7dc68632cf3a7a7285fb0793b094313">isDown</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a33afa90c17d29f468c55a599e006c3e9">  134</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_c_input_system.html#a33afa90c17d29f468c55a599e006c3e9">s</a> = 0;</div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a44b225c08626f7d044e75799c407efde">  135</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_c_input_system.html#a44b225c08626f7d044e75799c407efde">v</a> = 0;</div>
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a9c60d6b8d6e41a682a0a88ed1907389d">  136</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_c_input_system.html#a9c60d6b8d6e41a682a0a88ed1907389d">acc</a> = 10;<span class="comment">//重力</span></div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a7927388d1f99993381184db97ed4f468">  137</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_c_input_system.html#a7927388d1f99993381184db97ed4f468">t</a> = 0;<span class="comment">//时间</span></div>
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a03f9eeddad832628cbc6c225e2ff0584">  138</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_c_input_system.html#a03f9eeddad832628cbc6c225e2ff0584">v0_speed</a> = 50;<span class="comment">//初速度</span></div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="class_c_input_system.html#ae0d753169bffafa0b995b14351f0db97">  139</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_c_input_system.html#ae0d753169bffafa0b995b14351f0db97">H</a> = (v0_speed*<a class="code" href="class_c_input_system.html#a03f9eeddad832628cbc6c225e2ff0584">v0_speed</a>) / (2 * acc);<span class="comment">//条约的最大高度</span></div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    <span class="comment">/**************跳跃*****************/</span></div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    <span class="comment">/************自由下落***************/</span></div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="class_c_input_system.html#a5e78ea66b2268915972eba5fa3aa37be">  143</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_c_input_system.html#a5e78ea66b2268915972eba5fa3aa37be">Freedom</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    <span class="comment">/************自由下落***************/</span></div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="class_c_input_system.html#aace6e5d865fa592457bbb754af16a2d5">IsDrop</a>(D3DXVECTOR3 pos,<a class="code" href="class_c_model_copy.html">CModelCopy</a>*it, D3DXVECTOR3 &amp;start);</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="class_c_input_system.html#a411f663ea4e185f18db8e0d4657b11b1">IsCanMove</a>(D3DXVECTOR3 pos, D3DXVECTOR3 dir, <a class="code" href="class_c_model_copy.html">CModelCopy</a>* it);</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;        <span class="keywordtype">void</span> <a class="code" href="class_c_input_system.html#ad20d604ce89f64f3ebf8f26d1815114d">SetCamera</a>(<a class="code" href="class_c_model_copy.html">CModelCopy</a>*);</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="class_c_input_system.html#aef6f67d171d7f6b342d8e5ff1e8c99e3">HitTestAABBCModelCopy</a>(D3DXVECTOR3 pos,D3DXVECTOR3 dir, D3DXVECTOR3 &amp;start);</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="class_c_input_system.html#a94fbabb99aa06b280550834723514b98">HitTestAABBCModelCopy1</a>(D3DXVECTOR3 pos, D3DXVECTOR3 &amp;start);</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="class_c_input_system.html#a82a1510a7e3b2d0b12d3784c408e2355">HitTestAABBCharacter</a>();    </div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;};</div>
<div class="ttc" id="class_c_input_system_html_a4820fc23f220b9867e6a3e5d1811125f"><div class="ttname"><a href="class_c_input_system.html#a4820fc23f220b9867e6a3e5d1811125f">CInputSystem::dir</a></div><div class="ttdeci">D3DXVECTOR3 dir</div><div class="ttdef"><b>Definition:</b> InputSystem.h:117</div></div>
<div class="ttc" id="class_c_input_system_html_aa8b1e0e30b1602731235a7f4394f3315"><div class="ttname"><a href="class_c_input_system.html#aa8b1e0e30b1602731235a7f4394f3315">CInputSystem::m_bLeftDown</a></div><div class="ttdeci">bool m_bLeftDown</div><div class="ttdef"><b>Definition:</b> InputSystem.h:55</div></div>
<div class="ttc" id="class_c_input_system_html_a9c60d6b8d6e41a682a0a88ed1907389d"><div class="ttname"><a href="class_c_input_system.html#a9c60d6b8d6e41a682a0a88ed1907389d">CInputSystem::acc</a></div><div class="ttdeci">float acc</div><div class="ttdef"><b>Definition:</b> InputSystem.h:136</div></div>
<div class="ttc" id="class_c_input_system_html_a4db41b2663429f18a20c2bfa35d2ec7b"><div class="ttname"><a href="class_c_input_system.html#a4db41b2663429f18a20c2bfa35d2ec7b">CInputSystem::GetMouseOffsetX</a></div><div class="ttdeci">long GetMouseOffsetX(void)</div><div class="ttdef"><b>Definition:</b> InputSystem.h:81</div></div>
<div class="ttc" id="class_c_player_html"><div class="ttname"><a href="class_c_player.html">CPlayer</a></div><div class="ttdef"><b>Definition:</b> Player.h:7</div></div>
<div class="ttc" id="class_c_input_system_html_a5e78ea66b2268915972eba5fa3aa37be"><div class="ttname"><a href="class_c_input_system.html#a5e78ea66b2268915972eba5fa3aa37be">CInputSystem::Freedom</a></div><div class="ttdeci">bool Freedom</div><div class="ttdef"><b>Definition:</b> InputSystem.h:143</div></div>
<div class="ttc" id="class_c_input_system_html_ae0836b6eb7f932accbc6f1b89df0bcaa"><div class="ttname"><a href="class_c_input_system.html#ae0836b6eb7f932accbc6f1b89df0bcaa">CInputSystem::m_pBridge</a></div><div class="ttdeci">CBridge * m_pBridge</div><div class="ttdef"><b>Definition:</b> InputSystem.h:126</div></div>
<div class="ttc" id="class_c_input_system_html_afa623019717fc58c5254dec4688031aa"><div class="ttname"><a href="class_c_input_system.html#afa623019717fc58c5254dec4688031aa">CInputSystem::m_pHourse</a></div><div class="ttdeci">CHourse * m_pHourse</div><div class="ttdef"><b>Definition:</b> InputSystem.h:129</div></div>
<div class="ttc" id="class_c_input_system_html_a03f9eeddad832628cbc6c225e2ff0584"><div class="ttname"><a href="class_c_input_system.html#a03f9eeddad832628cbc6c225e2ff0584">CInputSystem::v0_speed</a></div><div class="ttdeci">float v0_speed</div><div class="ttdef"><b>Definition:</b> InputSystem.h:138</div></div>
<div class="ttc" id="class_c_input_system_html_ae132d9e64b908e77784ee986368492d8"><div class="ttname"><a href="class_c_input_system.html#ae132d9e64b908e77784ee986368492d8">CInputSystem::MapMove</a></div><div class="ttdeci">void MapMove()</div><div class="ttdef"><b>Definition:</b> InputSystem.cpp:610</div></div>
<div class="ttc" id="class_c_input_system_html_a6d24d55ce80e7a62109a05b1712988a3"><div class="ttname"><a href="class_c_input_system.html#a6d24d55ce80e7a62109a05b1712988a3">CInputSystem::m_lOldY</a></div><div class="ttdeci">long m_lOldY</div><div class="ttdef"><b>Definition:</b> InputSystem.h:62</div></div>
<div class="ttc" id="class_c_input_system_html_a56cac23f65688dc780b465565fc03bb2"><div class="ttname"><a href="class_c_input_system.html#a56cac23f65688dc780b465565fc03bb2">CInputSystem::IsLeftButtonDown</a></div><div class="ttdeci">bool IsLeftButtonDown(void)</div><div class="ttdef"><b>Definition:</b> InputSystem.h:84</div></div>
<div class="ttc" id="class_c_input_system_html_abb06d9d34763bd1c6ff03f0ec42f3706"><div class="ttname"><a href="class_c_input_system.html#abb06d9d34763bd1c6ff03f0ec42f3706">CInputSystem::m_cKeyBuffer</a></div><div class="ttdeci">char m_cKeyBuffer[256]</div><div class="ttdef"><b>Definition:</b> InputSystem.h:113</div></div>
<div class="ttc" id="class_c_input_system_html_a362409a3da504f53025549132d477312"><div class="ttname"><a href="class_c_input_system.html#a362409a3da504f53025549132d477312">CInputSystem::m_bRightDown</a></div><div class="ttdeci">bool m_bRightDown</div><div class="ttdef"><b>Definition:</b> InputSystem.h:56</div></div>
<div class="ttc" id="class_c_hourse_html"><div class="ttname"><a href="class_c_hourse.html">CHourse</a></div><div class="ttdef"><b>Definition:</b> Hourse.h:3</div></div>
<div class="ttc" id="class_i_object_html"><div class="ttname"><a href="class_i_object.html">IObject</a></div><div class="ttdef"><b>Definition:</b> Observer.h:39</div></div>
<div class="ttc" id="class_c_input_system_html_a027bd93e4cdd65336c2f1b84899024ea"><div class="ttname"><a href="class_c_input_system.html#a027bd93e4cdd65336c2f1b84899024ea">CInputSystem::m_queueMouseKey</a></div><div class="ttdeci">queue&lt; tagMouseKey * &gt; m_queueMouseKey</div><div class="ttdef"><b>Definition:</b> InputSystem.h:71</div></div>
<div class="ttc" id="class_c_input_system_html_aa07846b5ee408760518e868cdf0c127f"><div class="ttname"><a href="class_c_input_system.html#aa07846b5ee408760518e868cdf0c127f">CInputSystem::KeyMessageProc</a></div><div class="ttdeci">bool KeyMessageProc(DWORD keyValue, bool b)</div><div class="ttdef"><b>Definition:</b> InputSystem.cpp:306</div></div>
<div class="ttc" id="class_c_c_map_html"><div class="ttname"><a href="class_c_c_map.html">CCMap</a></div><div class="ttdef"><b>Definition:</b> CMap.h:3</div></div>
<div class="ttc" id="class_c_input_system_html_afe9f1385ed927dbf83c1df86d59f3c04"><div class="ttname"><a href="class_c_input_system.html#afe9f1385ed927dbf83c1df86d59f3c04">CInputSystem::m_lX</a></div><div class="ttdeci">long m_lX</div><div class="ttdef"><b>Definition:</b> InputSystem.h:59</div></div>
<div class="ttc" id="class_c_input_system_html_a42feb99f01d09f142c0fcfe965c90505"><div class="ttname"><a href="class_c_input_system.html#a42feb99f01d09f142c0fcfe965c90505">CInputSystem::m_pPlayer</a></div><div class="ttdeci">CPlayer * m_pPlayer</div><div class="ttdef"><b>Definition:</b> InputSystem.h:124</div></div>
<div class="ttc" id="class_c_camera_html"><div class="ttname"><a href="class_c_camera.html">CCamera</a></div><div class="ttdef"><b>Definition:</b> Camera.h:3</div></div>
<div class="ttc" id="class_c_sky_html"><div class="ttname"><a href="class_c_sky.html">CSky</a></div><div class="ttdef"><b>Definition:</b> Sky.h:3</div></div>
<div class="ttc" id="class_c_input_system_html_ac63aeb1f9c11c6ace8da41dc12067c33"><div class="ttname"><a href="class_c_input_system.html#ac63aeb1f9c11c6ace8da41dc12067c33">CInputSystem::m_lY</a></div><div class="ttdeci">long m_lY</div><div class="ttdef"><b>Definition:</b> InputSystem.h:60</div></div>
<div class="ttc" id="class_c_input_system_html_aa7dc68632cf3a7a7285fb0793b094313"><div class="ttname"><a href="class_c_input_system.html#aa7dc68632cf3a7a7285fb0793b094313">CInputSystem::isDown</a></div><div class="ttdeci">bool isDown</div><div class="ttdef"><b>Definition:</b> InputSystem.h:133</div></div>
<div class="ttc" id="class_i_observable_html"><div class="ttname"><a href="class_i_observable.html">IObservable</a></div><div class="ttdef"><b>Definition:</b> Observer.h:60</div></div>
<div class="ttc" id="class_c_input_system_html_ac4994d7b80830f1f60c34fbce2418b53"><div class="ttname"><a href="class_c_input_system.html#ac4994d7b80830f1f60c34fbce2418b53">CInputSystem::IsMiddleButtonDown</a></div><div class="ttdeci">bool IsMiddleButtonDown(void)</div><div class="ttdef"><b>Definition:</b> InputSystem.h:86</div></div>
<div class="ttc" id="class_c_input_system_html_a63e989b56b4d2fbec4e8b04799e1439b"><div class="ttname"><a href="class_c_input_system.html#a63e989b56b4d2fbec4e8b04799e1439b">CInputSystem::bAjustCamera</a></div><div class="ttdeci">bool bAjustCamera</div><div class="ttdef"><b>Definition:</b> InputSystem.h:122</div></div>
<div class="ttc" id="class_c_input_system_html_ad20d604ce89f64f3ebf8f26d1815114d"><div class="ttname"><a href="class_c_input_system.html#ad20d604ce89f64f3ebf8f26d1815114d">CInputSystem::SetCamera</a></div><div class="ttdeci">void SetCamera(CModelCopy *)</div><div class="ttdef"><b>Definition:</b> InputSystem.cpp:672</div></div>
<div class="ttc" id="class_c_input_system_html_a9362c927596de3750361d230a63c1eb7"><div class="ttname"><a href="class_c_input_system.html#a9362c927596de3750361d230a63c1eb7">CInputSystem::Notify</a></div><div class="ttdeci">void Notify(IObservable *pObservable, IObject *Arg)</div><div class="ttdef"><b>Definition:</b> InputSystem.cpp:41</div></div>
<div class="ttc" id="class_c_input_system_html"><div class="ttname"><a href="class_c_input_system.html">CInputSystem</a></div><div class="ttdef"><b>Definition:</b> InputSystem.h:26</div></div>
<div class="ttc" id="class_c_input_system_html_ae1099da0580ca3fba34e18f1146b8d86"><div class="ttname"><a href="class_c_input_system.html#ae1099da0580ca3fba34e18f1146b8d86">CInputSystem::SetMouseWheelDelta</a></div><div class="ttdeci">void SetMouseWheelDelta(long delta)</div><div class="ttdef"><b>Definition:</b> InputSystem.h:91</div></div>
<div class="ttc" id="structtag_mouse_key_html_abf8f866b6fb29a6983587c4b98a6a9ad"><div class="ttname"><a href="structtag_mouse_key.html#abf8f866b6fb29a6983587c4b98a6a9ad">tagMouseKey::lX</a></div><div class="ttdeci">long lX</div><div class="ttdef"><b>Definition:</b> InputSystem.h:16</div></div>
<div class="ttc" id="class_c_input_system_html_a3e288d6bdde5b5832cc5efc2dd3c1b0a"><div class="ttname"><a href="class_c_input_system.html#a3e288d6bdde5b5832cc5efc2dd3c1b0a">CInputSystem::m_lDelta</a></div><div class="ttdeci">long m_lDelta</div><div class="ttdef"><b>Definition:</b> InputSystem.h:65</div></div>
<div class="ttc" id="class_i_observer_html"><div class="ttname"><a href="class_i_observer.html">IObserver</a></div><div class="ttdef"><b>Definition:</b> Observer.h:48</div></div>
<div class="ttc" id="class_c_input_system_html_a3f5f87b19a628e8b7fabf5590e8e3dbd"><div class="ttname"><a href="class_c_input_system.html#a3f5f87b19a628e8b7fabf5590e8e3dbd">CInputSystem::CInputSystem</a></div><div class="ttdeci">CInputSystem()</div><div class="ttdef"><b>Definition:</b> InputSystem.cpp:5</div></div>
<div class="ttc" id="class_c_input_system_html_afc2f3be58f63de6bd6523947fed7d71b"><div class="ttname"><a href="class_c_input_system.html#afc2f3be58f63de6bd6523947fed7d71b">CInputSystem::InputProc</a></div><div class="ttdeci">void InputProc()</div><div class="ttdef"><b>Definition:</b> InputSystem.cpp:324</div></div>
<div class="ttc" id="structtag_mouse_key_html_aa3c34598b581d60c80cf7a42c748830f"><div class="ttname"><a href="structtag_mouse_key.html#aa3c34598b581d60c80cf7a42c748830f">tagMouseKey::lY</a></div><div class="ttdeci">long lY</div><div class="ttdef"><b>Definition:</b> InputSystem.h:16</div></div>
<div class="ttc" id="class_c_input_system_html_af14908aacbeb3047261592dd0bffdcfb"><div class="ttname"><a href="class_c_input_system.html#af14908aacbeb3047261592dd0bffdcfb">CInputSystem::Init</a></div><div class="ttdeci">bool Init()</div><div class="ttdef"><b>Definition:</b> InputSystem.cpp:32</div></div>
<div class="ttc" id="_g_u_i_manager_8h_html"><div class="ttname"><a href="_g_u_i_manager_8h.html">GUIManager.h</a></div></div>
<div class="ttc" id="class_c_input_system_html_ad42864913ab01f4784fe60b7704e6102"><div class="ttname"><a href="class_c_input_system.html#ad42864913ab01f4784fe60b7704e6102">CInputSystem::GetMouseX</a></div><div class="ttdeci">long GetMouseX(void)</div><div class="ttdef"><b>Definition:</b> InputSystem.h:77</div></div>
<div class="ttc" id="class_c_input_system_html_ad0edf3d10bf53a5db4ddfade224b229e"><div class="ttname"><a href="class_c_input_system.html#ad0edf3d10bf53a5db4ddfade224b229e">CInputSystem::PlayerMove</a></div><div class="ttdeci">void PlayerMove()</div><div class="ttdef"><b>Definition:</b> InputSystem.cpp:351</div></div>
<div class="ttc" id="class_c_input_system_html_ae9378953b47eed65444542bcca70b8a5"><div class="ttname"><a href="class_c_input_system.html#ae9378953b47eed65444542bcca70b8a5">CInputSystem::cameraAngleY</a></div><div class="ttdeci">float cameraAngleY</div><div class="ttdef"><b>Definition:</b> InputSystem.h:118</div></div>
<div class="ttc" id="class_c_bridge_html"><div class="ttname"><a href="class_c_bridge.html">CBridge</a></div><div class="ttdef"><b>Definition:</b> Bridge.h:3</div></div>
<div class="ttc" id="structtag_mouse_key_html"><div class="ttname"><a href="structtag_mouse_key.html">tagMouseKey</a></div><div class="ttdef"><b>Definition:</b> InputSystem.h:14</div></div>
<div class="ttc" id="class_c_input_system_html_ad2ab12b868bba59c0fb5e41a752ee1e3"><div class="ttname"><a href="class_c_input_system.html#ad2ab12b868bba59c0fb5e41a752ee1e3">CInputSystem::m_pSky</a></div><div class="ttdeci">CSky * m_pSky</div><div class="ttdef"><b>Definition:</b> InputSystem.h:125</div></div>
<div class="ttc" id="class_c_input_system_html_a6b64e75094261d3beed23f956695d557"><div class="ttname"><a href="class_c_input_system.html#a6b64e75094261d3beed23f956695d557">CInputSystem::m_vecStaticModel</a></div><div class="ttdeci">vector&lt; CModelCopy * &gt; m_vecStaticModel</div><div class="ttdef"><b>Definition:</b> InputSystem.h:73</div></div>
<div class="ttc" id="class_c_input_system_html_aabd42ad9d883e20680ae40b985d3bd2e"><div class="ttname"><a href="class_c_input_system.html#aabd42ad9d883e20680ae40b985d3bd2e">CInputSystem::GetOldMouseX</a></div><div class="ttdeci">long GetOldMouseX(void)</div><div class="ttdef"><b>Definition:</b> InputSystem.h:79</div></div>
<div class="ttc" id="class_c_input_system_html_a33afa90c17d29f468c55a599e006c3e9"><div class="ttname"><a href="class_c_input_system.html#a33afa90c17d29f468c55a599e006c3e9">CInputSystem::s</a></div><div class="ttdeci">float s</div><div class="ttdef"><b>Definition:</b> InputSystem.h:134</div></div>
<div class="ttc" id="class_c_input_system_html_a516438c71b1183ea57bcd9b91c41f5d2"><div class="ttname"><a href="class_c_input_system.html#a516438c71b1183ea57bcd9b91c41f5d2">CInputSystem::GetMouseOffsetY</a></div><div class="ttdeci">long GetMouseOffsetY(void)</div><div class="ttdef"><b>Definition:</b> InputSystem.h:82</div></div>
<div class="ttc" id="class_c_input_system_html_a2f3cfc7d91593f794239173b75655e0f"><div class="ttname"><a href="class_c_input_system.html#a2f3cfc7d91593f794239173b75655e0f">CInputSystem::IsRightButtonDown</a></div><div class="ttdeci">bool IsRightButtonDown(void)</div><div class="ttdef"><b>Definition:</b> InputSystem.h:85</div></div>
<div class="ttc" id="class_c_input_system_html_a411f663ea4e185f18db8e0d4657b11b1"><div class="ttname"><a href="class_c_input_system.html#a411f663ea4e185f18db8e0d4657b11b1">CInputSystem::IsCanMove</a></div><div class="ttdeci">bool IsCanMove(D3DXVECTOR3 pos, D3DXVECTOR3 dir, CModelCopy *it)</div><div class="ttdef"><b>Definition:</b> InputSystem.cpp:642</div></div>
<div class="ttc" id="class_c_input_system_html_a872d1ab9eabf71ba9ddaff067a974581"><div class="ttname"><a href="class_c_input_system.html#a872d1ab9eabf71ba9ddaff067a974581">CInputSystem::flag</a></div><div class="ttdeci">bool flag</div><div class="ttdef"><b>Definition:</b> InputSystem.h:132</div></div>
<div class="ttc" id="class_c_input_system_html_a3487d5139cce4d0eb9f8ce4c77fb377c"><div class="ttname"><a href="class_c_input_system.html#a3487d5139cce4d0eb9f8ce4c77fb377c">CInputSystem::SetRightButtonDown</a></div><div class="ttdeci">void SetRightButtonDown(bool bdown)</div><div class="ttdef"><b>Definition:</b> InputSystem.h:89</div></div>
<div class="ttc" id="class_c_input_system_html_a94fbabb99aa06b280550834723514b98"><div class="ttname"><a href="class_c_input_system.html#a94fbabb99aa06b280550834723514b98">CInputSystem::HitTestAABBCModelCopy1</a></div><div class="ttdeci">bool HitTestAABBCModelCopy1(D3DXVECTOR3 pos, D3DXVECTOR3 &amp;start)</div><div class="ttdef"><b>Definition:</b> InputSystem.cpp:751</div></div>
<div class="ttc" id="class_c_input_system_html_a11fbdae8b69ac64c41ddec971c794591"><div class="ttname"><a href="class_c_input_system.html#a11fbdae8b69ac64c41ddec971c794591">CInputSystem::MouseMessageProc</a></div><div class="ttdeci">bool MouseMessageProc()</div><div class="ttdef"><b>Definition:</b> InputSystem.cpp:104</div></div>
<div class="ttc" id="class_c_input_system_html_a9fd8289a5bfefa1b96906aa7c3d1b4e7"><div class="ttname"><a href="class_c_input_system.html#a9fd8289a5bfefa1b96906aa7c3d1b4e7">CInputSystem::SetLeftButtonDown</a></div><div class="ttdeci">void SetLeftButtonDown(bool bdown)</div><div class="ttdef"><b>Definition:</b> InputSystem.h:88</div></div>
<div class="ttc" id="class_c_input_system_html_aaaeeabbb144d8ba1dca686270ba193df"><div class="ttname"><a href="class_c_input_system.html#aaaeeabbb144d8ba1dca686270ba193df">CInputSystem::m_pMap</a></div><div class="ttdeci">CCMap * m_pMap</div><div class="ttdef"><b>Definition:</b> InputSystem.h:128</div></div>
<div class="ttc" id="class_c_input_system_html_a679ee3dabd0cc290645f7fd1bdba7da1"><div class="ttname"><a href="class_c_input_system.html#a679ee3dabd0cc290645f7fd1bdba7da1">CInputSystem::GetOldMouseY</a></div><div class="ttdeci">long GetOldMouseY(void)</div><div class="ttdef"><b>Definition:</b> InputSystem.h:80</div></div>
<div class="ttc" id="class_c_input_system_html_a8ad044e9e836d2b794587b64ab69b7b6"><div class="ttname"><a href="class_c_input_system.html#a8ad044e9e836d2b794587b64ab69b7b6">CInputSystem::bLButtonDown</a></div><div class="ttdeci">bool bLButtonDown</div><div class="ttdef"><b>Definition:</b> InputSystem.h:121</div></div>
<div class="ttc" id="class_c_input_system_html_a3b26672351a776a2547a14a18f79b850"><div class="ttname"><a href="class_c_input_system.html#a3b26672351a776a2547a14a18f79b850">CInputSystem::SetMiddleButtonDown</a></div><div class="ttdeci">void SetMiddleButtonDown(bool bdown)</div><div class="ttdef"><b>Definition:</b> InputSystem.h:90</div></div>
<div class="ttc" id="class_c_input_system_html_afec4013a20b9f26175e540cb54d6489b"><div class="ttname"><a href="class_c_input_system.html#afec4013a20b9f26175e540cb54d6489b">CInputSystem::m_fOffsetY</a></div><div class="ttdeci">float m_fOffsetY</div><div class="ttdef"><b>Definition:</b> InputSystem.h:64</div></div>
<div class="ttc" id="class_c_input_system_html_a06e8a3392c736cb57ec4b9f52c1ec1a8"><div class="ttname"><a href="class_c_input_system.html#a06e8a3392c736cb57ec4b9f52c1ec1a8">CInputSystem::m_vecMoster</a></div><div class="ttdeci">vector&lt; CCharacter * &gt; m_vecMoster</div><div class="ttdef"><b>Definition:</b> InputSystem.h:74</div></div>
<div class="ttc" id="class_c_input_system_html_a1148a6f2c4b5ce2a67ade11cfdbabd68"><div class="ttname"><a href="class_c_input_system.html#a1148a6f2c4b5ce2a67ade11cfdbabd68">CInputSystem::Update</a></div><div class="ttdeci">void Update(IObservable *pObservable, IObject *Arg)</div><div class="ttdef"><b>Definition:</b> InputSystem.cpp:47</div></div>
<div class="ttc" id="class_c_input_system_html_a7927388d1f99993381184db97ed4f468"><div class="ttname"><a href="class_c_input_system.html#a7927388d1f99993381184db97ed4f468">CInputSystem::t</a></div><div class="ttdeci">float t</div><div class="ttdef"><b>Definition:</b> InputSystem.h:137</div></div>
<div class="ttc" id="class_c_input_system_html_ae0d753169bffafa0b995b14351f0db97"><div class="ttname"><a href="class_c_input_system.html#ae0d753169bffafa0b995b14351f0db97">CInputSystem::H</a></div><div class="ttdeci">float H</div><div class="ttdef"><b>Definition:</b> InputSystem.h:139</div></div>
<div class="ttc" id="class_c_input_system_html_aecbf4db4d2ab66e8ac7498c895ed0375"><div class="ttname"><a href="class_c_input_system.html#aecbf4db4d2ab66e8ac7498c895ed0375">CInputSystem::m_pCamera</a></div><div class="ttdeci">CCamera * m_pCamera</div><div class="ttdef"><b>Definition:</b> InputSystem.h:127</div></div>
<div class="ttc" id="class_c_input_system_html_a82a1510a7e3b2d0b12d3784c408e2355"><div class="ttname"><a href="class_c_input_system.html#a82a1510a7e3b2d0b12d3784c408e2355">CInputSystem::HitTestAABBCharacter</a></div><div class="ttdeci">bool HitTestAABBCharacter()</div><div class="ttdef"><b>Definition:</b> InputSystem.cpp:779</div></div>
<div class="ttc" id="class_c_input_system_html_a484decdd149619bfd45c3c89648f5a59"><div class="ttname"><a href="class_c_input_system.html#a484decdd149619bfd45c3c89648f5a59">CInputSystem::GetWheelDelta</a></div><div class="ttdeci">long GetWheelDelta()</div><div class="ttdef"><b>Definition:</b> InputSystem.h:93</div></div>
<div class="ttc" id="_scene_manager_8h_html"><div class="ttname"><a href="_scene_manager_8h.html">SceneManager.h</a></div></div>
<div class="ttc" id="class_c_input_system_html_ad62ee8301b05d5d584660816ae5ef155"><div class="ttname"><a href="class_c_input_system.html#ad62ee8301b05d5d584660816ae5ef155">CInputSystem::cameraAngleX</a></div><div class="ttdeci">float cameraAngleX</div><div class="ttdef"><b>Definition:</b> InputSystem.h:120</div></div>
<div class="ttc" id="class_c_input_system_html_aef6f67d171d7f6b342d8e5ff1e8c99e3"><div class="ttname"><a href="class_c_input_system.html#aef6f67d171d7f6b342d8e5ff1e8c99e3">CInputSystem::HitTestAABBCModelCopy</a></div><div class="ttdeci">bool HitTestAABBCModelCopy(D3DXVECTOR3 pos, D3DXVECTOR3 dir, D3DXVECTOR3 &amp;start)</div><div class="ttdef"><b>Definition:</b> InputSystem.cpp:717</div></div>
<div class="ttc" id="class_c_input_system_html_af6e104ea0e171e87dc3505db9433cc63"><div class="ttname"><a href="class_c_input_system.html#af6e104ea0e171e87dc3505db9433cc63">CInputSystem::~CInputSystem</a></div><div class="ttdeci">~CInputSystem()</div><div class="ttdef"><b>Definition:</b> InputSystem.cpp:21</div></div>
<div class="ttc" id="class_c_input_system_html_a2ffe6cf32b873d604a8968e2ec380b0a"><div class="ttname"><a href="class_c_input_system.html#a2ffe6cf32b873d604a8968e2ec380b0a">CInputSystem::m_lOldX</a></div><div class="ttdeci">long m_lOldX</div><div class="ttdef"><b>Definition:</b> InputSystem.h:61</div></div>
<div class="ttc" id="class_c_input_system_html_a25afa3eee6f3c9d1fe843dd9541d1c39"><div class="ttname"><a href="class_c_input_system.html#a25afa3eee6f3c9d1fe843dd9541d1c39">CInputSystem::bCubeMove</a></div><div class="ttdeci">bool bCubeMove</div><div class="ttdef"><b>Definition:</b> InputSystem.h:123</div></div>
<div class="ttc" id="class_c_input_system_html_aace6e5d865fa592457bbb754af16a2d5"><div class="ttname"><a href="class_c_input_system.html#aace6e5d865fa592457bbb754af16a2d5">CInputSystem::IsDrop</a></div><div class="ttdeci">bool IsDrop(D3DXVECTOR3 pos, CModelCopy *it, D3DXVECTOR3 &amp;start)</div><div class="ttdef"><b>Definition:</b> InputSystem.cpp:614</div></div>
<div class="ttc" id="class_c_input_system_html_ae9c9797d455e7e55d5b8327eae76fdb8"><div class="ttname"><a href="class_c_input_system.html#ae9c9797d455e7e55d5b8327eae76fdb8">CInputSystem::m_pObservableScene</a></div><div class="ttdeci">CSceneManager * m_pObservableScene</div><div class="ttdef"><b>Definition:</b> InputSystem.h:49</div></div>
<div class="ttc" id="structtag_mouse_key_html_ae985aae9330f951e7239cc680f57368e"><div class="ttname"><a href="structtag_mouse_key.html#ae985aae9330f951e7239cc680f57368e">tagMouseKey::lKey</a></div><div class="ttdeci">long lKey</div><div class="ttdef"><b>Definition:</b> InputSystem.h:17</div></div>
<div class="ttc" id="class_c_input_system_html_a4ac7384af46827dd8f3a0e1d3b21d258"><div class="ttname"><a href="class_c_input_system.html#a4ac7384af46827dd8f3a0e1d3b21d258">CInputSystem::GetMouseY</a></div><div class="ttdeci">long GetMouseY(void)</div><div class="ttdef"><b>Definition:</b> InputSystem.h:78</div></div>
<div class="ttc" id="_graph_system_8h_html"><div class="ttname"><a href="_graph_system_8h.html">GraphSystem.h</a></div></div>
<div class="ttc" id="class_c_input_system_html_a44b225c08626f7d044e75799c407efde"><div class="ttname"><a href="class_c_input_system.html#a44b225c08626f7d044e75799c407efde">CInputSystem::v</a></div><div class="ttdeci">float v</div><div class="ttdef"><b>Definition:</b> InputSystem.h:135</div></div>
<div class="ttc" id="class_c_input_system_html_a1521385034853f00c5ac96a3cb6dc6f4"><div class="ttname"><a href="class_c_input_system.html#a1521385034853f00c5ac96a3cb6dc6f4">CInputSystem::m_fOffsetX</a></div><div class="ttdeci">float m_fOffsetX</div><div class="ttdef"><b>Definition:</b> InputSystem.h:63</div></div>
<div class="ttc" id="class_c_model_copy_html"><div class="ttname"><a href="class_c_model_copy.html">CModelCopy</a></div><div class="ttdef"><b>Definition:</b> ModelCopy.h:5</div></div>
<div class="ttc" id="class_c_scene_manager_html"><div class="ttname"><a href="class_c_scene_manager.html">CSceneManager</a></div><div class="ttdef"><b>Definition:</b> SceneManager.h:13</div></div>
<div class="ttc" id="class_c_input_system_html_ae5e950bb43ed85b62026e2ff0ff93c84"><div class="ttname"><a href="class_c_input_system.html#ae5e950bb43ed85b62026e2ff0ff93c84">CInputSystem::m_bMiddleDown</a></div><div class="ttdeci">bool m_bMiddleDown</div><div class="ttdef"><b>Definition:</b> InputSystem.h:57</div></div>
<div class="ttc" id="class_c_input_system_html_a852b3784bb3c92ea049d747f48b38a4c"><div class="ttname"><a href="class_c_input_system.html#a852b3784bb3c92ea049d747f48b38a4c">CInputSystem::AngleY</a></div><div class="ttdeci">float AngleY</div><div class="ttdef"><b>Definition:</b> InputSystem.h:119</div></div>
<div class="ttc" id="class_c_input_system_html_af8e07a43e45fa063badb6312d823f8c1"><div class="ttname"><a href="class_c_input_system.html#af8e07a43e45fa063badb6312d823f8c1">CInputSystem::PushMouseKey</a></div><div class="ttdeci">void PushMouseKey(long lMouseX, long lMouseY, long lValue)</div><div class="ttdef"><b>Definition:</b> InputSystem.cpp:295</div></div>
<div class="ttc" id="class_c_input_system_html_aae1aebf4cebdca5b66c61b2842e0085d"><div class="ttname"><a href="class_c_input_system.html#aae1aebf4cebdca5b66c61b2842e0085d">CInputSystem::IsKeyPressed</a></div><div class="ttdeci">bool IsKeyPressed(long)</div><div class="ttdef"><b>Definition:</b> InputSystem.cpp:315</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2018年 七月 1日 星期日 22:10:09 , 为 My Project使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
